﻿#region

using DomainModel.Domain.Model.MessageClipModel;
using FluentNHibernate.Mapping;

#endregion

namespace DomainModel.Infrastructure.Mappings
{
    public class MessageClipMap : ClassMap<MessageClip>
    {
        public MessageClipMap()
        {
            CompositeId(x => x.Id).KeyProperty(x => x.Id);

            Map(x => x.Content).CustomSqlType("text");
            Map(x => x.Label).CustomSqlType("text");
            Map(x => x.Name).CustomSqlType("text");
        }
    }
}